package com.cqupt.pojo;

public class Knowledge {
    /**
     * 知识id
      */
    private int id;
    /**
     *   知识名称
     */
    private String knowledgeName;
    /**
     * 知识标签
     */
    private String knowledgeLabel;
    /**
     * 知识类型 （父级）
     */
    private String knowledgeType;
    /**
     * 知识 （简化）
     */
    private String simpleType;
    /**
     * 问题名称
     */
    private String problemName;
    /**
     * 知识键值
     */
    private String knowledgeKeys;
    /**
     * 知识解决方案
     */
    private String resolution;
    /**
     * 知识审批
     */
    private String approval;
    /**
     * 知识公共键值
     */
    private String common_key;
    /**
     * 知识提交者
     */
    private String submit_user;
    /**
     *  审核人
     */
    private String approval_man;
    /**
     * 操作时间
     */
    private String time;
    /**
     * 浏览次数
     */
    private int viewCount;

    /**
     *
     * @param id id
     * @param knowledgeName 名称
     * @param knowledgeLabel 标签
     * @param knowledgeType 类型
     * @param simpleType 简单类型
     * @param problemName 问题
     * @param knowledgeKeys 键值
     * @param resolution 解决方法
     * @param approval 审批
     * @param common_key 公共简直
     * @param submit_user 提交者
     * @param time 时间
     * @param viewCount 浏览次数
     */
    public Knowledge(int id, String knowledgeName, String knowledgeLabel, String knowledgeType, String simpleType, String problemName, String knowledgeKeys, String resolution, String approval, String common_key, String submit_user, String time, int viewCount) {
        this.id = id;
        this.knowledgeName = knowledgeName;
        this.knowledgeLabel = knowledgeLabel;
        this.knowledgeType = knowledgeType;
        this.simpleType = simpleType;
        this.problemName = problemName;
        this.knowledgeKeys = knowledgeKeys;
        this.resolution = resolution;
        this.approval = approval;
        this.common_key = common_key;
        this.submit_user = submit_user;
        this.time = time;
        this.viewCount = viewCount;
    }

    /**
     *
     * @param knowledgeName 名称
     * @param knowledgeLabel 标签
     * @param knowledgeType 类型
     * @param simpleType 简单类型
     * @param problemName 问题
     * @param knowledgeKeys 键值
     * @param resolution 解决方法
     * @param approval 审批
     * @param common_key 公共简直
     * @param submit_user 提交者
     * @param time 时间
     * @param viewCount 浏览次数
     */
    public Knowledge(String knowledgeName, String knowledgeLabel, String knowledgeType, String simpleType, String problemName, String knowledgeKeys, String resolution, String approval, String common_key, String submit_user, String time, int viewCount) {
        this.knowledgeName = knowledgeName;
        this.knowledgeLabel = knowledgeLabel;
        this.knowledgeType = knowledgeType;
        this.simpleType = simpleType;
        this.problemName = problemName;
        this.knowledgeKeys = knowledgeKeys;
        this.resolution = resolution;
        this.approval = approval;
        this.common_key = common_key;
        this.submit_user = submit_user;
        this.time = time;
        this.viewCount = viewCount;
    }

    /**
     *
     * @param id id
     * @param knowledgeName 名称
     * @param knowledgeLabel 标签
     * @param knowledgeType 类型
     * @param simpleType 简单类型
     * @param problemName 问题
     * @param knowledgeKeys 键值
     * @param resolution 解决方法
     * @param approval 审批
     * @param common_key 公共简直
     * @param submit_user 提交者
     * @param time 时间
     */
    public Knowledge(int id, String knowledgeName, String knowledgeLabel, String knowledgeType, String simpleType, String problemName, String knowledgeKeys, String resolution, String approval, String common_key, String submit_user, String time) {
        this.id = id;
        this.knowledgeName = knowledgeName;
        this.knowledgeLabel = knowledgeLabel;
        this.knowledgeType = knowledgeType;
        this.simpleType = simpleType;
        this.problemName = problemName;
        this.knowledgeKeys = knowledgeKeys;
        this.resolution = resolution;
        this.approval = approval;
        this.common_key = common_key;
        this.submit_user = submit_user;
        this.time = time;
    }

    public String getSimpleType() {
        return simpleType;
    }

    public void setSimpleType(String simpleType) {
        this.simpleType = simpleType;
    }

    public int getViewCount() {
        return viewCount;
    }

    public void setViewCount(int viewCount) {
        this.viewCount = viewCount;
    }

    public String getApproval_man() {
        return approval_man;
    }

    public void setApproval_man(String approval_man) {
        this.approval_man = approval_man;
    }

    public String getProblemName() {
        return problemName;
    }

    public void setProblemName(String problemName) {
        this.problemName = problemName;
    }

    public String getSubmit_user() {
        return submit_user;
    }

    public void setSubmit_user(String submit_user) {
        this.submit_user = submit_user;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getKnowledgeName() {
        return knowledgeName;
    }

    public void setKnowledgeName(String knowledgeName) {
        this.knowledgeName = knowledgeName;
    }

    public String getKnowledgeLabel() {
        return knowledgeLabel;
    }

    public void setKnowledgeLabel(String knowledgeLabel) {
        this.knowledgeLabel = knowledgeLabel;
    }

    public String getKnowledgeType() {
        return knowledgeType;
    }

    public void setKnowledgeType(String knowledgeType) {
        this.knowledgeType = knowledgeType;
    }

    public String getKnowledgeKeys() {
        return knowledgeKeys;
    }

    public void setKnowledgeKeys(String knowledgeKeys) {
        this.knowledgeKeys = knowledgeKeys;
    }

    public String getResolution() {
        return resolution;
    }

    public void setResolution(String resolution) {
        this.resolution = resolution;
    }

    public String getApproval() {
        return approval;
    }

    public void setApproval(String approval) {
        this.approval = approval;
    }

    public String getCommon_key() {
        return common_key;
    }

    public void setCommon_key(String common_key) {
        this.common_key = common_key;
    }

    @Override
    public String toString() {
        return "Knowledge{" +
                "id=" + id +
                ", knowledgeName='" + knowledgeName + '\'' +
                ", knowledgeLabel='" + knowledgeLabel + '\'' +
                ", knowledgeType='" + knowledgeType + '\'' +
                ", simpleType='" + simpleType + '\'' +
                ", problemName='" + problemName + '\'' +
                ", knowledgeKeys='" + knowledgeKeys + '\'' +
                ", resolution='" + resolution + '\'' +
                ", approval='" + approval + '\'' +
                ", common_key='" + common_key + '\'' +
                ", submit_user='" + submit_user + '\'' +
                ", approval_man='" + approval_man + '\'' +
                ", time='" + time + '\'' +
                ", viewCount='" + viewCount + '\'' +
                '}';
    }
}
